import { request, requestToken,download } from '@/utils/request';
 


export const listRole = (params) => { return requestToken("post", "/hkfrich-api/system/role/list", params) };
export const addRole = (params) => { return requestToken("post", "/hkfrich-api/system/role/save", params) };
export const getRole = (params) => { return requestToken("post", "/hkfrich-api/system/role/getOneById", params) };
export const updateRole = (params) => { return requestToken("post", "/hkfrich-api/system/role/updateById", params) };
export const delRole = (params) => { return requestToken("post", "/hkfrich-api/system/role/removeByIds", params) };
export const changeRoleStatus = (params) => { return requestToken("post", "/hkfrich-api/system/role/changeRoleStatus",params) };